package top.infopub.mgr.common.cnst;

/**
 * 常量
 * @author Awoke
 * @version 2018年10月16日
 * @see Constants
 * @since
 */
public final class Constants {

    // 默认dg每页显示记录数
    public final static Integer QUERY_PER_PAGE_DEF = 25;

    // -------- 基本操作提示语  --------//
    // 修改提示
    public final static String EDIT_SUCCESS = "修改成功~";

    public final static String EDIT_FAILED = "修改失败~";

    // 新增提示
    public final static String INSERT_SUCCESS = "新增成功~";

    public final static String INSERT_FAILED = "新增失败~";

    public final static String INSERT_REPEAT = "记录已存在，不允许重复新增！";

    // 删除提示
    public final static String DELETE_SUCCESS = "删除成功~";

    public final static String DELETE_FAILED = "删除失败，该记录可能已被其他用户删除~";

    // 上传提示
    public final static String IMPORT_SUCCESS = "上传导入成功~";

    public final static String IMPORT_FAILED = "上传导入失败~";

    // 导出excel
    public final static String DERIVED_EXCEL_SUCCESS = "数据导出成功~";

    public static final String DERIVED_EXCEL_FAILED = "数据导出失败~";

    public final static String DERIVED_EXCEL_QUERRY_FAILED = "无相应的数据可导出~";

    // 单一查询提示
    public final static String SINGLE_QUERY_SUCCESS = "查询成功~";

    public final static String SINGLE_QUERY_FAILED = "未查到相关数据~";

    // 批量查询提示
    public final static String QUERRY_SUCCESS = "查询成功~";

    public final static String QUERRY_FAILED = "未查到相应数据~";

    // 数据加载异常
    public final static String DATA_LOAD_ERROR = "数据加载异常！";

    // 注销提示
    public final static String UNSUBSCRIBE_SUCCESS = "注销成功~";

    public final static String UNSUBSCRIBE_FAILED = "注销失败，该记录可能已被其他用户注销~";

    // 启用提示
    public final static String REUSE_SUCCESS = "启用成功~";

    public final static String REUSE_FAILED = "启用失败，该记录可能已被其他用户启用~";

    // 绑定提示
    public final static String BIND_SUCCESS = "绑定成功~";

    public final static String BIND_FALIED = "绑定失败~";

    // 发布提示
    public final static String PUB_SUCCESS = "发布成功~";

    public final static String PUB_FAILED = "发布失败~";

    // 取消发布提示
    public final static String CANCEL_PUB_SUCCESS = "取消发布成功~";

    public final static String CANCEL_PUB_FAILED = "取消发布失败~";

    // 修改密码提示语
    public final static String CHANGE_PWD_OLD_IS_WRONG = "原始密码错误~";

    public final static String CHANGE_PWD_OLD_EQUALS_NEW = "新密码不能与原始密码一样~";

    public final static String CHANGE_PWD_NEWS_NOT_EQUALS = "新密码与确认新密码不一致~";

    public final static String CHANGE_PWD_SUCCESS = "修改密码成功~";

    public final static String CHANGE_PWD_FAILED = "修改密码失败~";

    // 重置密码
    public final static String RESET_PWD_SUCCESS = "重置密码成功~";

    public final static String RESET_PWD_FAILED = "重置密码失败~";

    // 刷新数据成功
    public final static String REFRESH_CACHE_SUCCESS = "刷新缓存成功~";

    // GLOBAL_EXCEPTION  系统级错误
    public final static String GLOBAL_EXCEPTION = "数据异常，请检查~";

    // 存在参数为空
    public final static String BAD_PARAMETERS_REQUEST = "提交数据为空或不合法~";

    // 无当前权限
    public final static String NO_OPERATION_CURRENT = "无相应操作权限，如需授权请联系系统管理员~";

    // session超时提示
    public final static String SESSION_TIMEOUT = "会话已过期，请重新登录~";

    // 用户名密码错误
    public final static String PASSWD_NAME_ERROR = "用户名或密码错误，请重新输入";

    // 验证码错误
    public final static String SECURITYCODE_ERROR = "验证码错误，请重新输入";

    // 验证码错误
    public final static String SECURITYCODE_NULL = "验证码不能为空，请输入四位验证码";

    // 没有权限
    public final static String NO_OPERATION_LIMIT = "没有任何可操作权限，如需授权请联系系统管理员！";

}
